package org.jeecg.modules.charge.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.charge.entity.ChargeInvoiceType;

import java.util.List;
import java.util.Map;

/**
 * @Description: 票据类型
 * @Author: jeecg-boot
 * @Date:   2019-07-07
 * @Version: V1.0
 */
public interface ChargeInvoiceTypeMapper extends BaseMapper<ChargeInvoiceType> {
   public String  getNameByCode(String typeCode);

   public ChargeInvoiceType sureMoney(@Param("typeNum") String typeNum);

   public ChargeInvoiceType selectByTypenum(@Param("typeNum")String tyNum);

   List<ChargeInvoiceType> listByParams(@Param("page") Page<ChargeInvoiceType> page, @Param("map") Map map);

   List<ChargeInvoiceType> getInvoiceType();
}
